package com.zzyl.nursing.domain;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 护理任务查询参数
 * 
 * @author syl
 * @date 2025-06-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NursingTaskQueryParam {
    
    @ApiModelProperty(value = "页码", example = "1")
    private Integer pageNum = 1;
    
    @ApiModelProperty(value = "每页显示条数", example = "10")
    private Integer pageSize = 10;
    
    @ApiModelProperty(value = "老人姓名")
    private String elderName;
    
    @ApiModelProperty(value = "护理员ID")
    private Long nurseId;
    
    @ApiModelProperty(value = "护理项目ID")
    private Long projectId;
    
    @ApiModelProperty(value = "状态(1待执行2已执行3已关闭)")
    private Integer status;
    
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


}